﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WsTesting.aspx.cs" Inherits="WsTesting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        WsTesting Demo Page created for CSE598 Assignment #3 by Jeff Conner<br />
        <br />
        Instructions:<br />
        Enter the url for the wsdl of the service you want to call an operatoin from.&nbsp; 
        Enter the operation name.&nbsp; For each input parameter of the operation add an 
        expected parameter.&nbsp; You must add exactly the number of parameters the 
        operation is expecting or it will fail.&nbsp; To add a parameter enter the value 
        and click on the &quot;Add Parameter&quot; button.&nbsp; If you make a mistake you can 
        clear all current entries with the &quot;Clear All&quot; button.</div>
    <p>
        Enter a URL to a wsdl descriptor (include ?wsdl):</p>
    <asp:TextBox ID="_wsdlUrl" runat="server" Width="861px">http://venus.eas.asu.edu/WSRepository/Services/Encryption/Service.asmx?wsdl</asp:TextBox>
    <p>
        Enter the operation name to invoke:
        <asp:TextBox ID="_operationName" runat="server" Width="315px">Encrypt</asp:TextBox>
    </p>
    <p>
        Add parameters required by the operation here:</p>
    <p>
        Parameter Value</p>
    <asp:TextBox ID="_parameterTextbox" runat="server"></asp:TextBox>
    <asp:Button ID="_addButton" runat="server" onclick="_addButton_Click" 
        style="margin-left: 19px" Text="Add Parameter" />
    <asp:Button ID="_clearButton" runat="server" onclick="_clearButton_Click" 
        style="margin-left: 20px" Text="Clear All" Width="97px" />
    <p>
        Current Parameters:</p>
    <asp:ListBox ID="_parameterList" runat="server" Height="115px" Width="244px">
    </asp:ListBox>
    <p>
        <asp:Button ID="_goButton" runat="server" onclick="_goButton_Click" Text="Go" />
    </p>
    <p>
        Results:</p>
    <p>
        <asp:TextBox ID="_results" runat="server" Height="195px" TextMode="MultiLine" 
            Width="296px"></asp:TextBox>
    </p>
    </form>
</body>
</html>
